home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
misc
/
FD2Pragma.lha
/
Scripts
/
MakeStuff
< prev
Wrap
AmigaDOS Script File
|
1998-02-28
|
1KB
|
41 lines
.key FDFILE/A,CLIBFILE/A,DEST/A
.bra {
.ket }
; $VER: MakeStuff 1.1 (10.02.1998)
; script to create all the needed library stuff with FD2Pragma
; DEST must already exist and should be empty.
FailAt 21
; ************** Copy the fd to destination directory *******************
MakeDir >NIL: {DEST}fd
Copy {FDFILE} {DEST}fd QUIET
; ********************** This is the C part *****************************
MakeDir >NIL: {DEST}C
MakeDir >NIL: {DEST}C/clib
MakeDir >NIL: {DEST}C/pragma
MakeDir >NIL: {DEST}C/proto
MakeDir >NIL: {DEST}C/inline
Copy {CLIBFILE} {DEST}C/clib QUIET
FD2Pragma {FDFILE} TO {DEST}C/pragma/
FD2Pragma {FDFILE} SPECIAL 35 TO {DEST}C/proto/
FD2Pragma {FDFILE} CLIB {CLIBFILE} SPECIAL 40 TO {DEST}C/inline/
; ****************** This is the Assembler part *************************
MakeDir >NIL: {DEST}ASM
MakeDir >NIL: {DEST}ASM/lvo
FD2Pragma {FDFILE} SPECIAL 23 TO {DEST}ASM/lvo/
; ******** This generates a link library for C and Assembler ************
MakeDir >NIL: {DEST}lib
FD2Pragma {FDFILE} CLIB {CLIBFILE} SPECIAL 12 TO {DEST}lib/
; **************************** other stuff ******************************
; nothing more needed :-)
FailAt 10